package fem2;

/**
 * a fastener for string processing
 * 
 * @author hbui
 * 
 */
public class StringUtilities {

	/**
	 * 
	 * @param fullFileName
	 * @return
	 */
	public static String getFileName(String fullFileName) {
		int mid = fullFileName.lastIndexOf(".");
		if (mid != -1) {
			return fullFileName.substring(0, mid);
		} else {
			return fullFileName;
		}
	}
}
